﻿<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page isELIgnored ="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
  <head>
  <title>收银台</title>
    <base href="<%=basePath%>">
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no;">
<style type="text/css">
.weixin{
font-size:30px;
}
div.item{
width:100%;
height:50px;
position:relative;
font-size:16px;
border-top: #E0E0E0 solid 1px;
border-bottom: #E0E0E0 solid 1px;
vertical-align:middle;
line-height: 50px;
margin-top:-1px;
}
div.item:after{
	content:'';
	width:10px;
	height:10px;
	display:block;
	border-right: #ADADAD solid 1px;
	border-bottom: #ADADAD solid 1px;
	position:absolute;
	top:50%;
	right:5px;
	transform: translateY(-50%) rotate(-45deg);
	-webkit-transform: translateY(-50%) rotate(-45deg);
	-o-webkit-transform: translateY(-50%) rotate(-45deg);
	-moz-webkit-transform: translateY(-50%) rotate(-45deg);
	-ms-webkit-transform: translateY(-50%) rotate(-45deg);
}
div.disable:after{
border-right: #E0E0E0 solid 1px;
border-bottom: #E0E0E0 solid 1px;
}
.disable{
color:#E0E0E0;
}
img.payimage{
	margin-top: 9px;
	width: 80px;
	height:30px;
	padding-right:8px;
	float: left;
}
.title{
  font-size: 15px;
  color: #232626;
}
.des{
  font-size: 12px;
  color: #848689;
}
.order-bar {
  font-size: 14px;
  line-height: 30px;
  background-color: #fff;
  vertical-align: middle;
}
.pay-tip {
  color: #686868;
}
.pay-total {
  font-size: 17px;
  color: #f15353;
  float:right;
  margin-right:5px;
}
</style>
<script type="text/javascript">
function WXpay(){
window.location.href = '/shadtpay/wechat/unifiedorder/${payinfo!=null?payinfo.order_id:""}';
}

</script>
  </head>
  <body> 
	<div class="order-bar">
	    <span class="pay-tip">订单金额</span>
	    <span class="pay-total">
	        <strong>${payinfo.order_totalfee/100}元</strong>
	    </span>
    </div>
	<div class="item" onclick="WXpay()">
		<img class="payimage" src="phone/images/wxpay.png">
<!-- 		<table> -->
<!-- 			<tr><td><div class="title">微信支付</div></td></tr> -->
<!-- 			<tr><td><div class="des">微信安全支付</div></td></tr> -->
<!-- 		</table> -->
	</div>
  </body>
</html>

